# 用户必须回答正确才能逃脱
from mimetypes import guess_type

print("你现在在密室，要回答数字正确才能出去")
answer = 5
guess = ''
while guess != answer:
    guess = int(input("请输入数字1-10\n"))
    if guess == 5:
        print("恭喜成功出来了")

    else:
       print("继续会回答")

